﻿<UserControl x:Class="CustomerAssistant.Login"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DesignHeight="222" d:DesignWidth="414" MinWidth="350" MinHeight="216" MouseDown="canvas1_MouseDown" MouseMove="canvas1_MouseMove" MouseUp="canvas1_MouseUp" Width="385" Height="282">
    <UserControl.Background>
        <ImageBrush ImageSource="/CustomerAssistant;component/Resources/main_bg.png" />
    </UserControl.Background>
    <UserControl.Resources>
        <ResourceDictionary>
            <Style TargetType="{x:Type TextBox}">
                <Style.Triggers>
                    <Trigger Property="IsFocused" Value="True">
                        <Setter Property="BorderBrush" Value="#FF00F5FC"></Setter>
                    </Trigger>
                </Style.Triggers>
            </Style>
        </ResourceDictionary>
    </UserControl.Resources>
    <Grid>
        <Border Name="border1" CornerRadius="6">
            <Grid Name="grid1">
                <TextBox Height="25" HorizontalAlignment="Left" Margin="116,113,0,0" Name="textBox1" VerticalAlignment="Top" Width="182" AcceptsTab="True" FontSize="16" MaxLength="16" TabIndex="0" />
                <Label Content="账户名" HorizontalAlignment="Left" Margin="50,113,0,142" Name="label1" Foreground="White" FontSize="14" />
                <Label Content="密   码" Height="28" HorizontalAlignment="Left" Margin="49,0,0,100" Name="label2" VerticalAlignment="Bottom" Foreground="White" FontSize="14" />
                <PasswordBox Height="25" HorizontalAlignment="Left" Margin="116,152,0,0" Name="passwordBox1" VerticalAlignment="Top" Width="182" FontSize="16" MaxLength="16" TabIndex="1" />
                <Image Height="33" HorizontalAlignment="Left" Margin="302,6,0,0" Name="image1" Stretch="None" VerticalAlignment="Top" Width="40" Source="/CustomerAssistant;component/Resources/ninimize.png" MouseDown="image1_MouseDown" />
                <Image Height="23" HorizontalAlignment="Left" Margin="337,6,0,0" Name="image2" Stretch="None" VerticalAlignment="Top" Width="40" Source="/CustomerAssistant;component/Resources/delete.png" MouseDown="image2_MouseDown" />
                <Image Height="75" HorizontalAlignment="Left" Margin="79,32,0,0" Name="image3" Stretch="None" VerticalAlignment="Top" Width="244" Source="/CustomerAssistant;component/Resources/logo.png" />
                <CheckBox Content="记住密码"  Height="16" HorizontalAlignment="Left" Margin="116,188,0,0" Name="checkBox1" VerticalAlignment="Top" Foreground="Black" FontSize="12" />
                <CheckBox Content="自动登录" FontSize="12" Foreground="Black" Height="16" HorizontalAlignment="Right" Margin="0,188,115,0" Name="checkBox2" VerticalAlignment="Top" />
                <Image Height="29" HorizontalAlignment="Left" Margin="116,219,0,0" Name="image4" Stretch="None" VerticalAlignment="Top" Width="74" Source="/CustomerAssistant;component/Resources/login_btn.png" Cursor="Hand" MouseDown="image4_MouseDown" />
            </Grid>
        </Border>
    </Grid>
</UserControl>